package com.ngmaster.apiserver.services.impl;

import java.io.IOException;

import org.springframework.stereotype.Service;

import com.ngmaster.apiserver.services.CallbackMessageService;
import com.ngmaster.apiserver.util.HttpUtil;


@Service
public class CallbackMessageServiceImpl implements CallbackMessageService{
	
	@Override
	public String getCallbackMessage(String message) throws IOException {
		//message 是json结构
		return HttpUtil.readContentFromGet("", "http://127.0.0.1/api/callback?message="+message);
	}

}
